package com.zhang.zxx.boot;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;

import java.lang.management.ManagementFactory;

/**
 * ZxxBootApplication:springboot项目
 *
 * @author zhangxiaoxiang
 * @date 2021年11月20日
 */
@Slf4j
@EnableAsync
@SpringBootApplication
public class ZxxBootApplication {

    public static void main(String[] args) {
        SpringApplication.run(ZxxBootApplication.class, args);
        log.info("ZxxBootApplication启动完毕,接口文档 http://localhost:8080/doc.html#/home");
        System.err.println("进程号"+ ManagementFactory.getRuntimeMXBean().getName().split("@")[0]);
    }

}
